package com.zshan.clinic.database.dao;

import com.zshan.clinic.database.model.OrderDelivery;
import com.zshan.clinic.database.model.OrderDeliveryExample;
import com.zshan.clinic.mybatis.SuperMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OrderDeliveryMapper extends SuperMapper {
    long countByExample(OrderDeliveryExample example);

    int deleteByExample(OrderDeliveryExample example);

    int deleteByPrimaryKey(Long orderId);

    int insert(OrderDelivery row);

    int insertSelective(OrderDelivery row);

    List<OrderDelivery> selectByExample(OrderDeliveryExample example);

    OrderDelivery selectByPrimaryKey(Long orderId);

    int updateByExampleSelective(@Param("row") OrderDelivery row, @Param("example") OrderDeliveryExample example);

    int updateByExample(@Param("row") OrderDelivery row, @Param("example") OrderDeliveryExample example);

    int updateByPrimaryKeySelective(OrderDelivery row);

    int updateByPrimaryKey(OrderDelivery row);
}